
export default {

    //材料进场台账
    formObj: [

        {
            input: true, //是input
            label: "样品名称", //字段
            prop: "fSamplename", //字段名
            width: 6, //参考el-col
            disabled: true, //是否禁用
            placeholder: "请选择",
            rules: [{
                required: true,
                message: '样品名称不能为空'
            }], //验证
            // options: []

        },
        {
            input: true, //是input
            label: "取样编号", //字段
            prop: "fSamplenumber", //字段名
            width: 6, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '取样编号'
            }], //验证


        },
        {
            datePicker: true, //是input
            label: "委托日期", //字段
            prop: "fCommissiondates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '样品名称不能为空'
            }], //验证
        },

        {
            input: true, //是input
            label: "委托人", //字段
            prop: "fCommissionname", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '委托人不能为空'
            }], //验证
            options: []
        }, {
            input: true, //是input
            label: "接收委托单位", //字段
            prop: "fUnitname", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '单位不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "委托单号", //字段
            prop: "fOrdernumber", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '委托单号不能为空'
            }] //验证
        },
        {
            label: "委托单附件", //字段
            prop: "fFileurl", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '委托单附件不能为空'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "备注", //字段
            prop: "fNote", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '备注不能为空'
            }] //验证
        },
    ],



}